package org.pupil.rpc.demo.service;

import org.pupil.rpc.annotation.RpcService;
import org.pupil.rpc.demo.TestService;

@RpcService
public class TestServiceImpl implements TestService {
    @Override
    public void test(String key) {
        System.out.println(1/0);
        System.out.println("服务提供方 test 测试成功  :" + key);
    }

    @Override
    public void test2(String key) {
        System.out.println("服务提供方 test3 测试成功  :" + key);
    }
}
